
var path = require("path");
//将相对路径解析为绝对路径
var realPath = path.resolve("../test");
console.log(realPath);


//返回当前目录绝对路径
// console.log(__dirname);
